package com.itheima.reggie.service;

import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Employee;

/**
 * @author:YZN
 * @date:2022/12/21
 * @description:
 */
public interface EmployeeService {
    R<Employee> login(Employee employee);

    void add( Employee employee);

    R page(Integer page, Integer pageSize, String name);

    R modify(Employee employee);

    R findById(Long id);
}
